﻿<UserControl x:Class="PDOGenerator.Views.SchemaView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    MinHeight="300" MinWidth="300">
    <Grid >
        <Grid.Resources>
            <Style TargetType="TextBox" >
                <Setter Property="Margin" Value="2,2,2,2" />
            </Style>
            <Style TargetType="TextBlock" >
                <Setter Property="Margin" Value="12,2,2,2" />
            </Style>
        </Grid.Resources>

        <StackPanel Orientation="Vertical" HorizontalAlignment="Stretch" >

            <Grid Background="DarkBlue">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition/>
                </Grid.ColumnDefinitions>
                <TextBlock FontSize="18" Foreground="White" FontWeight="Bold">Schema:</TextBlock>
                <TextBlock Grid.Column="1" FontSize="18" Foreground="White" FontWeight="Bold" Text="{Binding SchemaName}" Margin="12,1,2,3" />
            </Grid>

            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition/>
                </Grid.ColumnDefinitions>
                <TextBlock >SubProject Name:</TextBlock>
                <StackPanel Grid.Column="1">
                    <TextBox  Text="{Binding Path=SubProjectName}" />
                    <TextBlock HorizontalAlignment="Left" Width="Auto" Text="Optional - controls grouping of output." FontStyle="Italic"/>
                </StackPanel>
            </Grid>


            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition/>
                </Grid.ColumnDefinitions>
                <TextBlock >Class Output Directory:</TextBlock>
                <StackPanel Grid.Column="1">
                    <TextBox  Text="{Binding Path=ClassOutputDirectory}" />
                    <TextBlock HorizontalAlignment="Left" Width="Auto" Text="Optional - path may be relative to Project path, or absolute." FontStyle="Italic"/>
                </StackPanel>
            </Grid>

            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition/>
                </Grid.ColumnDefinitions>
                <TextBlock >Script Output Directory:</TextBlock>
                <StackPanel Grid.Column="1">
                    <TextBox  Text="{Binding Path=ScriptOutputDirectory}" />
                    <TextBlock HorizontalAlignment="Left" Width="Auto" Text="Optional - path may be relative to Project path, or absolute." FontStyle="Italic"/>
                </StackPanel>
            </Grid>

        </StackPanel>

    </Grid>
</UserControl>
